/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package polandballgame;
import java.awt.Graphics;

/**
 *
 * @author POed
 */
abstract class GameObject extends Object {
    
    // data:
    public int type;
    
    public int x;
    public int y;
    
    public boolean passable;
    
    // 
    public GameObject() {
    
        x = 0;
        y = 0;
        passable = false;
    }
    
    public GameObject(int xPos, int yPos) {
        
        super();
        
        x = xPos;
        y = yPos;
        type = 0;
    }
    
    abstract void draw(Graphics context);
}
